package cn.edu.zzuli.nothinglink.service;

import cn.edu.zzuli.nothinglink.entity.Course;
import cn.edu.zzuli.nothinglink.entity.R;
import cn.edu.zzuli.nothinglink.vo.CourseInfoVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author suzyyy
 * @since 2021-04-08
 */
public interface CourseService extends IService<Course> {

    R createCourse(CourseInfoVo vo, Integer uId);

    R getMyCoursesList(Integer uId);

    CourseInfoVo getCourseInfo(Integer courseId);

    R updateTheCourseInfo(CourseInfoVo vo);

    R getMyCoursesInMyClass(Integer stuId);

    R getStusInCourse(Integer courseId);

    R getWorkConditionByCourseId(Integer courseId);
}
